#!/bin/bash
# export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home
# export JAVA_HOME=/Users/binny/Library/Java/JavaVirtualMachines/corretto-1.8.0_352/Contents/Home

export JAVA_HOME=/Users/binny/Downloads/jdk-17.0.1.jdk64/Contents/Home
# export JAVA_HOME=~/env/sdk/jdk-17.0.4.1.jdk/Contents/Home
# export PATH=$PATH:$JAVA_HOME/bin
# # #!/bin/bash
# export JAVA_8_HOME="/Library/Java/JavaVirtualMachines/jdk1.8.0_341.jdk/Contents/Home"
# alias jdk8='export JAVA_HOME=$JAVA_8_HOME'
 
# export JAVA_11_HOME="/Library/Java/JavaVirtualMachines/jdk-11.0.16.1.jdk/Contents/Home"
# alias jdk11='export JAVA_HOME=$JAVA_11_HOME'
 
# export JAVA_17_HOME="/Users/binny/Downloads/jdk-17.0.9.jdk/Contents/Home"
# alias jdk17='export JAVA_HOME=$JAVA_17_HOME'

# export JAVA_21_HOME=/Library/Java/JavaVirtualMachines/jdk-21.0.1.jdk/Contents/Home
# alias jdk21='export JAVA_HOME=$JAVA_21_HOME'

# #  默认 java17
# export JAVA_HOME=$JAVA_8_HOME